package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserRechargeableCard implements Serializable {
    private static final long serialVersionUID = 8779467137421273841L;

    /**
     * This field corresponds to the database column user_rechargeable_card.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column user_rechargeable_card.card_sn
     */
    private String rechargeCard;

    /**
     * This field corresponds to the database column user_rechargeable_card.card_passwd
     */
    private String cardPasswd;

    /**
     * This field corresponds to the database column user_rechargeable_card.valid_time
     */
    private Date validTime = new Date();

    /**
     * This field corresponds to the database column user_rechargeable_card.create_time
     */
    private Date createTime = new Date();

    /**
     * This field corresponds to the database column user_rechargeable_card.activate_time
     */
    private Date activateTime = new Date();

    /**
     * This field corresponds to the database column user_rechargeable_card.status
     */
    private Integer status = 0;

    /**
     * This field corresponds to the database column user_rechargeable_card.denomination
     */
    private BigDecimal denomination;

    /**
     * This field corresponds to the database column user_rechargeable_card.balance
     */
    private BigDecimal balance;

    /**
     * This field corresponds to the database column user_rechargeable_card.user_id
     */
    private Integer userId = 0;

    /**
     * This method returns the value of the database column user_rechargeable_card.id
     *
     * @return the value of user_rechargeable_card.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.id
     *
     * @param id the value for user_rechargeable_card.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_rechargeable_card.card_passwd
     *
     * @return the value of user_rechargeable_card.card_passwd
     */
    public String getCardPasswd() {
        return cardPasswd;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.card_passwd
     *
     * @param cardPasswd the value for user_rechargeable_card.card_passwd
     */
    public void setCardPasswd(String cardPasswd) {
        this.cardPasswd = cardPasswd;
    }

    /**
     * This method returns the value of the database column user_rechargeable_card.valid_time
     *
     * @return the value of user_rechargeable_card.valid_time
     */
    public Date getValidTime() {
        return validTime;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.valid_time
     *
     * @param validTime the value for user_rechargeable_card.valid_time
     */
    public void setValidTime(Date validTime) {
        this.validTime = validTime;
    }

    /**
     * This method returns the value of the database column user_rechargeable_card.create_time
     *
     * @return the value of user_rechargeable_card.create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.create_time
     *
     * @param createTime the value for user_rechargeable_card.create_time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method returns the value of the database column user_rechargeable_card.activate_time
     *
     * @return the value of user_rechargeable_card.activate_time
     */
    public Date getActivateTime() {
        return activateTime;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.activate_time
     *
     * @param activateTime the value for user_rechargeable_card.activate_time
     */
    public void setActivateTime(Date activateTime) {
        this.activateTime = activateTime;
    }

    /**
     * This method returns the value of the database column user_rechargeable_card.status
     *
     * @return the value of user_rechargeable_card.status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.status
     *
     * @param status the value for user_rechargeable_card.status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method returns the value of the database column user_rechargeable_card.denomination
     *
     * @return the value of user_rechargeable_card.denomination
     */
    public BigDecimal getDenomination() {
        return denomination;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.denomination
     *
     * @param denomination the value for user_rechargeable_card.denomination
     */
    public void setDenomination(BigDecimal denomination) {
        this.denomination = denomination;
    }

    /**
     * This method returns the value of the database column user_rechargeable_card.balance
     *
     * @return the value of user_rechargeable_card.balance
     */
    public BigDecimal getBalance() {
        return balance;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.balance
     *
     * @param balance the value for user_rechargeable_card.balance
     */
    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    /**
     * This method returns the value of the database column user_rechargeable_card.user_id
     *
     * @return the value of user_rechargeable_card.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column user_rechargeable_card.user_id
     *
     * @param userId the value for user_rechargeable_card.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

	public String getRechargeCard() {
		return rechargeCard;
	}

	public void setRechargeCard(String rechargeCard) {
		this.rechargeCard = rechargeCard;
	}
}